package de.stalinski.login;

public class Watcher {
    private SessionWatcher sw = SessionWatcher.instance();
    public Watcher() {}

    public void register(String user, String id) {
        sw.register(user, id);
    }

    public void unregister(String user, String id) {
        sw.unregister(user, id);
    }

    public boolean isInList(String id) {
        return sw.isInList(id);
    }

    public boolean timedOut(String id) {
        return sw.timedOut(id);
    }

    public void updateTimeOut(String id) {
        sw.updateTimeOut(id);
    }

    public String getLogoutTime(String id) {
        return sw.getLogoutTime(id);
    }
}
